/*
 * Fachada.java
 *
 * Created on 9 de Agosto de 2006, 14:22
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package br.cefetrn.fachada;

import java.io.IOException;
import java.util.Collection;

import br.cefetrn.dominio.Declaracao;
import br.cefetrn.dominio.Responsavel_Declaracao;

/**
 *
 * @author leomoreira
 */
public interface FachadaDeclaracao {
    
    public int insertDeclaracaoPeq(Declaracao d) throws ClassNotFoundException, IOException;
    public int updateDeclaracao(Declaracao d, Responsavel_Declaracao res) throws ClassNotFoundException, IOException;
    public Declaracao selectDeclaracao(String cpfcnpj) throws ClassNotFoundException, IOException;   
    public Collection selectAno() throws ClassNotFoundException, IOException;
    public Collection selectNatureza() throws ClassNotFoundException, IOException;
    public Collection selectTodasDeclaracoes() throws ClassNotFoundException, IOException;
    public int deleteDeclaracao_Responsavel(String cpfcnpj) throws ClassNotFoundException, IOException;
    
}
